package com.oepm.dao.mapper;

import com.oepm.dao.entity.DictionaryPo;
import com.oepm.dao.entity.QueryInfo;
import com.oepm.dao.entity.UserInfoPo;
import com.oepm.dao.entity.vo.UserPassVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserInfoMapper {
    UserInfoPo queryById(@Param("id") String id);
    String queryUserId(String userId);
    int insertInfo(DictionaryPo dp);
    int updateInfo(DictionaryPo dp);
    //查询所有用户信息
    List<UserInfoPo> queryUserAll();
    //查询密码
    String selectPass(String userId);
    //跟新密码
    int updatePass(UserPassVo userPassVo);
}
